Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional specs for destructuring in for loops #1159

Merged
merged 1 commit into from
Jun 15, 2024

Conversation

herwinw
Copy link
Member

@herwinw herwinw commented Jun 15, 2024

The extra cases have been based on the different parse results that Prism generates for these code snippets (Prism::MultiTargetNode)

end
end

it "iterates over a liestof arrays and destructures with a splat and additional targets" do
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
it "iterates over a liestof arrays and destructures with a splat and additional targets" do
it "iterates over a list of arrays and destructures with a splat and additional targets" do

The extra cases have been based on the different parse results that
Prism generates for these code snippets.
@andrykonchin
Copy link
Member

Thank you!

@andrykonchin andrykonchin merged commit 8ee7706 into ruby:master Jun 15, 2024
14 checks passed
@herwinw herwinw deleted the language_for branch June 16, 2024 06:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants